package com.chinacoal.hr.levelapi.controller;

import com.chinacoal.hr.levelapi.client.response.Result;
import com.chinacoal.hr.levelapi.client.response.ResultGenerator;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: YunTao.Li
 * @create: 2020-01-08 16:12
 * @description:
 **/
@ApiOperation("ApiOperation:测试GoTest")
@RestController(value = "RestController:测试GoTest")
public class Gotest2 {

    @ApiOperation("测试文件url-2020-01-09-5")
    @GetMapping("/gotest")
    public Result gotest() {
        return ResultGenerator.genOkResult("gotest-2020-01-09-5");
    }
}
